package com.dao.hm;

import java.util.List;

import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.CrudRepository;

import com.entity.Customer;

public interface CustomerDAO extends CrudRepository<Customer, Long>{
	@Query("from Customer c where rownum<=10")
	public List<Customer> queryTen();

}
